package com.forum.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer userid;
	private Integer usertype;
	private String email;
	private String password;
	private String realname;
	private String signature;
	private String hobby;
	private String introduction;
	private String nickname;
	private Integer usercount;
	private Integer groupcount;
	private Integer topiccount;
	private Integer followercount;
	private String picurl;
	private Set ucts = new HashSet(0);
	private Set ucgs = new HashSet(0);
	private Set sharings = new HashSet(0);
	private Set remindsForUserFromId = new HashSet(0);
	private Set remindsForUserId = new HashSet(0);
	private Set groupses = new HashSet(0);
	private Set topics = new HashSet(0);
	private Set ucusForFollowingid = new HashSet(0);
	private Set repliesForUserid = new HashSet(0);
	private Set ucusForUserid = new HashSet(0);
	private Set repliesForUserFromId = new HashSet(0);
	private Set messagesForFromuserid = new HashSet(0);
	private Set messagesForUserid = new HashSet(0);

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(Integer usertype, String email, String password,
			String realname, String nickname, Integer usercount,
			Integer groupcount, Integer topiccount, Integer followercount) {
		this.usertype = usertype;
		this.email = email;
		this.password = password;
		this.realname = realname;
		this.nickname = nickname;
		this.usercount = usercount;
		this.groupcount = groupcount;
		this.topiccount = topiccount;
		this.followercount = followercount;
	}

	/** full constructor */
	public User(Integer usertype, String email, String password,
			String realname, String signature, String hobby,
			String introduction, String nickname, Integer usercount,
			Integer groupcount, Integer topiccount, Integer followercount,
			String picurl, Set ucts, Set ucgs, Set sharings,
			Set remindsForUserFromId, Set remindsForUserId, Set groupses,
			Set topics, Set ucusForFollowingid, Set repliesForUserid,
			Set ucusForUserid, Set repliesForUserFromId,
			Set messagesForFromuserid, Set messagesForUserid) {
		this.usertype = usertype;
		this.email = email;
		this.password = password;
		this.realname = realname;
		this.signature = signature;
		this.hobby = hobby;
		this.introduction = introduction;
		this.nickname = nickname;
		this.usercount = usercount;
		this.groupcount = groupcount;
		this.topiccount = topiccount;
		this.followercount = followercount;
		this.picurl = picurl;
		this.ucts = ucts;
		this.ucgs = ucgs;
		this.sharings = sharings;
		this.remindsForUserFromId = remindsForUserFromId;
		this.remindsForUserId = remindsForUserId;
		this.groupses = groupses;
		this.topics = topics;
		this.ucusForFollowingid = ucusForFollowingid;
		this.repliesForUserid = repliesForUserid;
		this.ucusForUserid = ucusForUserid;
		this.repliesForUserFromId = repliesForUserFromId;
		this.messagesForFromuserid = messagesForFromuserid;
		this.messagesForUserid = messagesForUserid;
	}

	// Property accessors

	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public Integer getUsertype() {
		return this.usertype;
	}

	public void setUsertype(Integer usertype) {
		this.usertype = usertype;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getRealname() {
		return this.realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getSignature() {
		return this.signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public String getHobby() {
		return this.hobby;
	}

	public void setHobby(String hobby) {
		this.hobby = hobby;
	}

	public String getIntroduction() {
		return this.introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getNickname() {
		return this.nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public Integer getUsercount() {
		return this.usercount;
	}

	public void setUsercount(Integer usercount) {
		this.usercount = usercount;
	}

	public Integer getGroupcount() {
		return this.groupcount;
	}

	public void setGroupcount(Integer groupcount) {
		this.groupcount = groupcount;
	}

	public Integer getTopiccount() {
		return this.topiccount;
	}

	public void setTopiccount(Integer topiccount) {
		this.topiccount = topiccount;
	}

	public Integer getFollowercount() {
		return this.followercount;
	}

	public void setFollowercount(Integer followercount) {
		this.followercount = followercount;
	}

	public String getPicurl() {
		return this.picurl;
	}

	public void setPicurl(String picurl) {
		this.picurl = picurl;
	}

	public Set getUcts() {
		return this.ucts;
	}

	public void setUcts(Set ucts) {
		this.ucts = ucts;
	}

	public Set getUcgs() {
		return this.ucgs;
	}

	public void setUcgs(Set ucgs) {
		this.ucgs = ucgs;
	}

	public Set getSharings() {
		return this.sharings;
	}

	public void setSharings(Set sharings) {
		this.sharings = sharings;
	}

	public Set getRemindsForUserFromId() {
		return this.remindsForUserFromId;
	}

	public void setRemindsForUserFromId(Set remindsForUserFromId) {
		this.remindsForUserFromId = remindsForUserFromId;
	}

	public Set getRemindsForUserId() {
		return this.remindsForUserId;
	}

	public void setRemindsForUserId(Set remindsForUserId) {
		this.remindsForUserId = remindsForUserId;
	}

	public Set getGroupses() {
		return this.groupses;
	}

	public void setGroupses(Set groupses) {
		this.groupses = groupses;
	}

	public Set getTopics() {
		return this.topics;
	}

	public void setTopics(Set topics) {
		this.topics = topics;
	}

	public Set getUcusForFollowingid() {
		return this.ucusForFollowingid;
	}

	public void setUcusForFollowingid(Set ucusForFollowingid) {
		this.ucusForFollowingid = ucusForFollowingid;
	}

	public Set getRepliesForUserid() {
		return this.repliesForUserid;
	}

	public void setRepliesForUserid(Set repliesForUserid) {
		this.repliesForUserid = repliesForUserid;
	}

	public Set getUcusForUserid() {
		return this.ucusForUserid;
	}

	public void setUcusForUserid(Set ucusForUserid) {
		this.ucusForUserid = ucusForUserid;
	}

	public Set getRepliesForUserFromId() {
		return this.repliesForUserFromId;
	}

	public void setRepliesForUserFromId(Set repliesForUserFromId) {
		this.repliesForUserFromId = repliesForUserFromId;
	}

	public Set getMessagesForFromuserid() {
		return this.messagesForFromuserid;
	}

	public void setMessagesForFromuserid(Set messagesForFromuserid) {
		this.messagesForFromuserid = messagesForFromuserid;
	}

	public Set getMessagesForUserid() {
		return this.messagesForUserid;
	}

	public void setMessagesForUserid(Set messagesForUserid) {
		this.messagesForUserid = messagesForUserid;
	}

}